package com.bw.purchase.service;

import com.bw.pojo.PmsSku;
import com.bw.purchase.pojo.Do.PurchaseDo;
import com.bw.purchase.pojo.Dto.PurchaseDto;
import com.bw.purchase.pojo.Vo.PurchaseVo;

import java.util.List;

public interface  PurchaseService {

    /**
     * 添加订单记录表
     * @param purchaseDo
     */
    void add(PurchaseDo purchaseDo);


    /**
     * 查询审核订单列表
     * @param purchaseDto
     * @return
     */
    List<PurchaseVo> selectPurchaseList(PurchaseDto purchaseDto);

    /**
     * 采购单审核
     * @param id
     */
    void updatePurchaseStatus(Integer id);


    /**
     * 预警商品列表展示
     * @return
     */
    List<PmsSku> warningSkuList();
}
